package com.lkx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkx.dto.DishDto;
import com.lkx.pojo.Dish;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author likaixin
 * @ClassName com.lkx.service.DishService
 * @create 2022年11月22日 19:36
 * @desc:
 */
public interface DishService extends IService<Dish> {
    void  saveWithFlavor(DishDto dishDto);
    DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);
    boolean modifyStatus( Long[] ids, Integer status);
    List<Dish> copies(Long id);
}
